package cn.iocoder.yudao.module.design.controller.admin.userflowrel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name =  "管理后台 - 用户和流程角色关联 Excel 导出 Request VO", description = "参数和 UserFlowRelPageReqVO 是一致的")
@Data
public class UserFlowRelExportReqVO {

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "住宅ID")
    private Long houseId;

    @Schema(description = "流程ID")
    private Long flowId;

    @Schema(description = "角色id")
    private Long roleId;

    @Schema(description = "状态（0正常1失效2-待确认）")
    private String status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
